﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Channels;
using System.Text;
using System.ServiceModel;
using LinFu.IoC.Configuration;

namespace CoreEx.ServiceModel.Tests
{
    //[Implements(typeof(IBindingProvider))]
    public class WsHttpBindingProvider : IBindingProvider
    {
        public Binding CreateBinding(Type serviceType, Uri uri)
        {
            return new NetTcpBinding();
            
            //return new WSHttpBinding(SecurityMode.None);
        }
    }
}
